using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.RepositoryFactory.CodeGeneration.ObjectModel.Mappings;

namespace Microsoft.Practices.RepositoryFactory.CodeGeneration.ObjectModel
{
    public class Identity
    {
        #region Properties
        private string name;

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private List<PropertyParameterMapping> parameterMappings;

        /// <summary>
        /// Gets or sets the parameter mappings.
        /// </summary>
        /// <value>The parameter mappings.</value>
        public List<PropertyParameterMapping> ParameterMappings
        {
            get { return parameterMappings; }
            set { parameterMappings = value; }
        }
        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="T:Identity"/> class.
        /// </summary>
        public Identity()
        {
            parameterMappings = new List<PropertyParameterMapping>();
        }
        #endregion
    }
}
